

<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
    <h3 class="text-center text-danger lead">片源更新日历</h3>

    @foreach($days as $key=>$shows)

    <div class="panel panel-default">
        <div class="panel-heading" role="tab" id="#accordion">
            <h4 class="panel-title">
                <a role="button" data-toggle="collapse" data-parent="#accordion" href="#week-{{$key}}"
                   aria-expanded="true" aria-controls="collapseOne">
                    {{$key == $this_week_index ? '今日更新' : $week_list[$key]}}
                </a>
            </h4>
        </div>
        <div id="week-{{$key}}" class="panel-collapse {{$key == $this_week_index ? 'collapse in text-success' : 'collapse'}}" role="tabpanel" aria-labelledby="headingOne">


            <div class="list-group">
                @foreach($shows as $show)
                <button type="button" class="list-group-item"><a href="{{route('show.show',$show->id)}}" title="{{$show->name_en.$show->name_zh}}">{{$show->name_en.$show->name_zh}}</a></button>
                @endforeach

            </div>
        </div>
    </div>

    @endforeach


</div>